package homework8_5;

import java.util.List;

public class SubjectTest {
	public static void main(String[] args) {
		SubjectDao dao = new SubjectDao();

		System.out.println("查看第2页，，每页10条");
		List<Subject> list = dao.paging(10, 2);
		for (Subject s : list) {
			System.out.println(s.toString());
		}
	}

}
